//-----------------------------------------------------------------------
// <copyright file="GiftBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace BirthdayReminder.Entities
{
	[Serializable]
	public class GiftBase
	{
		
		#region Variable Declarations
		private int				giftId = 0;
		private string				name = string.Empty;
		private int				price = 0;
		private string				description = string.Empty;
		private DateTime				creationDate = new DateTime(1900,1,1,0,0,0,0);
		#endregion
		
		#region Constructors
		public GiftBase() {}
		
		public GiftBase (
			int giftId,
			string name,
			int price,
			string description,
			DateTime creationDate)
		
		{
			this.giftId = giftId;
			this.name = name;
			this.price = price;
			this.description = description;
			this.creationDate = creationDate;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int GiftId
		{
			get { return giftId; }
			set { giftId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Price
		{
			get { return price; }
			set { price = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreationDate
		{
			get { return creationDate; }
			set { creationDate = value; }
		}
			
		
		#endregion
	}//End Class
	
	public enum GiftColumns
	{
		GiftId,
		Name,
		Price,
		Description,
		CreationDate
	}//End enum
}